<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- <h1>&quot;</h1> -->
    <div id="app"></div>
    <script src="../../packages/vue/dist/vue.global.js"></script>
    <script>
        const {createApp, ref} = Vue

        const App = {
            setup() {
                const count = ref(0)
                const add = () => count.value++
                return {
                    count,
                    add
                }
            },
            template: `<h1 @click="add">{{ count }}</h1>`
        }

        createApp(App).mount('#app')

    </script>
</body>
</html>